<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>个人信息管理系统——登录</title>

<link rel="stylesheet" type="text/css" href="css/index.css" />
<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
<script type="text/javascript">
$(function(){
	$("#loginbutton").click(function(){
		$("#loginform").submit();
	});
	
	$("#createaccountbutton").click(function(){
		window.location.href="accountCreateShow";
	});
});
</script>


</head>
<body>
	<div id="top">
		<div id="errormsg"><s:property value="msg" /></div>
	</div>
	<div id="main">
		<div id="reft"></div>
		<div id="mid">
			<div id="login">
				<form id="loginform" method="post" action="login">
					<p>
						<span>用户名：</span><input type="text" name="account.username" />
					</p>
					<p>
						<span>密　码：</span><input type="password" name="account.password" />
					</p>
					<div id="loginbutton"></div>
					<div id="createaccountbutton"></div>
				</form>
			</div>
		</div>
		<div id="right"></div>
	</div>
	<div id="foot"></div>
</body>
</html>
